package myky.com.doctorapp.entity;

import java.util.List;

public class DepatmentAndAreaEntity {

    private DataEntity data;


    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }


    public static class DataEntity {
        private List<DepartmentEntity> department;
        private List<AreaEntity> area;

        public List<DepartmentEntity> getDepartment() {
            return department;
        }

        public void setDepartment(List<DepartmentEntity> department) {
            this.department = department;
        }

        public List<AreaEntity> getArea() {
            return area;
        }

        public void setArea(List<AreaEntity> area) {
            this.area = area;
        }

        public static class DepartmentEntity {
            /**
             * departmentname : 肿瘤科
             * departmentchild : [{"departmentchildname":"放射科"},{"departmentchildname":"肿瘤骨科"},{"departmentchildname":"肿瘤妇科"},{"departmentchildname":"肿瘤科"}]
             */

            private String departmentname;
            private List<DepartmentchildEntity> departmentchild;

            public String getDepartmentname() {
                return departmentname;
            }

            public void setDepartmentname(String departmentname) {
                this.departmentname = departmentname;
            }

            public List<DepartmentchildEntity> getDepartmentchild() {
                return departmentchild;
            }

            public void setDepartmentchild(List<DepartmentchildEntity> departmentchild) {
                this.departmentchild = departmentchild;
            }

            public static class DepartmentchildEntity {
                /**
                 * departmentchildname : 放射科
                 */

                private String departmentchildname;

                public String getDepartmentchildname() {
                    return departmentchildname;
                }

                public void setDepartmentchildname(String departmentchildname) {
                    this.departmentchildname = departmentchildname;
                }
            }
        }

        public static class AreaEntity {
            /**
             * province : 河北
             * city : [{"cityName":"石家庄"},{"cityName":"唐山"},{"cityName":"秦皇岛"},{"cityName":"承德"},{"cityName":"张家口"},{"cityName":"廊坊"},{"cityName":"保定"},{"cityName":"衡水"},{"cityName":"邢台"},{"cityName":"邯郸"},{"cityName":"沧州"}]
             */

            private String province;
            private List<CityEntity> city;
            private boolean provinceSelected;

            public boolean isProvinceSelected() {
                return provinceSelected;
            }

            public void setProvinceSelected(boolean provinceSelected) {
                this.provinceSelected = provinceSelected;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public List<CityEntity> getCity() {
                return city;
            }

            public void setCity(List<CityEntity> city) {
                this.city = city;
            }

            public static class CityEntity {
                /**
                 * cityName : 石家庄
                 */
                private boolean cotySelected;

                public boolean isCotySelected() {
                    return cotySelected;
                }

                public void setCotySelected(boolean cotySelected) {
                    this.cotySelected = cotySelected;
                }

                private String cityName;

                public String getCityName() {
                    return cityName;
                }

                public void setCityName(String cityName) {
                    this.cityName = cityName;
                }
            }
        }
    }
}
